package cn.rongdao.jrkabao.ui.cashadvance.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.cashadvance.TransactionRecordBean;
import cn.rongdao.jrkabao.ui.cashadvance.uicomponent.ItemTransactionRecordUIComponent;

/**
 * Created by jack on 2017/6/2
 */

public class TransactionRecordViewHolder extends FRBaseRecyclerViewHolder<TransactionRecordBean.TradeBean> {

    private ItemTransactionRecordUIComponent itemTransactionRecordUIComponent;

    public TransactionRecordViewHolder(View view) {
        super(view);
        itemTransactionRecordUIComponent = findView(R.id.itr_ll_main);
    }

    @Override
    protected void onItemDataUpdated(TransactionRecordBean.TradeBean transactionRecordBean) {
        itemTransactionRecordUIComponent.setContent(transactionRecordBean);
    }
}
